<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax用户登录追踪功能演示</title>
</head>

<body>

  <button id="btnUser">获取登录用户信息</button>
  <button id="btnLogout">安全退出</button>

  <hr>

  <input type="text" id="txtUsername" placeholder="用户名">
  <input type="password" id="txtPassword" placeholder="密码">
  <button id="btnLogin">登录</button>



  <pre id="preInfo"></pre>

  <script src="./js/test02.js" type="module"></script>

</body>

</html>